Component({
  properties: {
    title: {
      type: String,
      value: ''
    },
    list: {
      type: Array,
      value: [],
  },
  },
  data: {
    result:[],
    // title:String
  }, 
  methods: {
   
    _showEvent() {
      this.triggerEvent("showEvent");
    },
    _hideEvent() {
      this.triggerEvent("hideEvent");
    },
    deleteIndex(e){
      // console.log(e.detail.index);

      this.triggerEvent('deleteIndex', {
        index: e.detail.index
      })

    },
    clickChoseImgs(e){
      this.triggerEvent('clickChoseImgs', {
        index: e.detail.index
      })
    }
  }
})
